<?php
if($html->getContent('type')=='inquiry')
{
    @include('booking.tpl');
}
else if($html->getContent('type')=='tour')
{
    ?>
    <div class="page-block">
    <?php
    echo $html->getTitle('cName');
    ?>    
        <div><a class="sendinq" href="<?php echo $linksendinquiry?>"><?php echo getLang('Send booking')?></a></div>
        <div id="tourtabs">
            <a><?php echo getLang("Summary")?></a>
            <a><?php echo getLang("Full itinerary")?></a> 
            <?php if(count($listPhotos)>0):?>
            <a><?php echo getLang("Images")?></a>
            <?php endif?>
            <a><?php echo getLang("Rates")?></a> 
        </div>
        <div id="tourtabs_pages">
            <div class="tab">              
                <?php echo $html->getContent('cSummary')?>
                <div><a href="#f" onclick="tabstour.view(2)"><i><?php echo getLang("See full itinerary")?></i></a></div>
            </div>
            <div class="tab"> 
                <?php echo $html->getContent('cFullItinerary')?>
                <?php echo $html->getConfig('RatesTourNotes')?>
            </div>
            <?php if(count($listPhotos)>0):?>
            <div class="tab">
                <div style="text-align: center;">
                <?php @include "templates/box/gallery.tpl"?>      
                </div>                          
            </div>
            <?php endif?>
            <div class="tab"> 
                <?php echo $html->getContent('cPriceDayArr')?>
            </div>
            <div class="tab">
                <?php// include "templates/review/default.tpl"?>
            </div>
        </div>
        <script type="text/javascript">(tabstour=new TrTabs).init('tourtabs')</script>  
        
        <div class="clear"></div>
    </div>
<?php
}
else
{
    ?>
    <div class="page-block">
    <?php
    if($html->countUrl==1)
    {
        echo $html->getTitle('cName');
        echo $allTour;
    }else
    {
        echo $html->getTitle('cName');
        echo $allTour;
    }
    ?>
    </div>
<?php
}
?>